
using System;
using Microsoft.Xna.Framework;


namespace Tama_Chan.AI
{
   public static class AIUtils
   {
      public static Vector2 GetRandomVelocity(float speed, Random random)
      {
         if(random == null)
         {
            random = new Random();
         }

         return Vector2.Multiply(Vector2.Normalize(new Vector2(random.Next(-50, 51), random.Next(-50, 51))), speed);
      }
   }
}
